{yun:}include file="$wapstyle/member/header.htm"{/yun}
<div class="main_member_cot_box">
    <ul class="yun_m_tit_five">
        <li class="yun_m_tit_cur">
            <a href="index.php?c=baoming_subject">报名课程</a>
        </li>
        <li>
            <a href="index.php?c=fav_subject">收藏课程</a>
        </li>
        <li>
            <a href="index.php?c=atn_teacher">关注讲师</a>
        </li>
        <li>
            <a href="index.php?c=fav_agency">关注机构</a>
        </li>
        <li>
            <a href="index.php?c=subject_zixun">留言</a>
        </li>
    </ul>
    
    <div class="wap_member_post_list">
        {yun:}foreach item=v from=$rows{/yun} {yun:}assign var="state" value=$v.order_state{/yun}
        <div class="com_member_hr">
            <div class="com_member_hr_name">
                <a href="{yun:}url m=wap c=train a=subshow id=$v.sid{/yun}" class="wap_member_com_name  com_member_hr_cblue">{yun:}$v.name{/yun}</a>
            </div>
            
            <div class="user_member_box">
                <div class="com_member_hr_p1"><span class="member_c9">机构名称：</span>{yun:}$v.train_name{/yun}</div>
                <div class="com_member_hr_p1"><span class="member_c9">课程价格：</span><span style="color:#f90">{yun:}$v.price{/yun}</span></div>
                <div class="com_member_hr_p1"><span class="member_c9">收费方式：</span><span style="color:#29BF1E">{yun:}if $v.isprice==1{/yun}在线收费{yun:}else{/yun}到场收费{yun:}/if{/yun}</span></div>
                <div class="com_member_hr_p1"><span class="member_c9">报名时间：</span>{yun:}$v.ctime|date_format:"%Y-%m-%d"{/yun}</div>
                {yun:}if $v.isprice==1{/yun}
	                <div class="com_member_hr_p1"><span class="member_c9">支付状态：{yun:}$arr_data.paystate.$state{/yun}</span></div>
 		            
 		            {yun:}if $v.order_state=='1'{/yun}
			            <div class="com_member_hr_cz">
			                <a href="javascript:void(0)" onclick="layer_del('确定要取消报名？','index.php?c=baoming_subject&del={yun:}$v.id{/yun}');" class="yun_member_hr_bth">取消报名</a>
			                <a href="index.php?c=payment&id={yun:}$v.oid{/yun}" class="yun_member_hr_bth">去付款</a>
			            </div>
		            {yun:}else{/yun}
			            <div class="com_member_hr_cz">
			                <a href="{yun:}url m=wap c=train a=subshow id=$v.sid{/yun}" class="yun_member_hr_bth">查看详情</a>
			            </div>
		            {yun:}/if{/yun} 
	            
	            {yun:}else{/yun}
		            <div class="com_member_hr_p1"><span class="member_c9">支付状态：<font color="red">到场支付</font></span></div>
		            <div class="com_member_hr_cz">
		                <a href="javascript:void(0)" onclick="layer_del('确定要取消报名？','index.php?c=baoming_subject&del={yun:}$v.id{/yun}');" class="yun_member_hr_bth">取消报名</a>
		                <a href="{yun:}url m=wap c=train a=subshow id=$v.sid{/yun}" class="yun_member_hr_bth">查看详情</a>
		            </div>
            	{yun:}/if{/yun}
            </div>
        </div>
        
        <div class="pages"> {yun:}$pagenav{/yun}</div>
        
        {yun:}foreachelse{/yun}
        <div class="wap_member_no">
        	暂无报名的课程
            <div>
                <a class="wap_member_no_search" href="{yun:}url m=wap c=train a=subject{/yun}">去搜索我感兴趣的培训课程</a>
            </div>
        </div>
        {yun:}/foreach{/yun}
    </div>
</div>

{yun:}include file="$wapstyle/footer.htm"{/yun}